uacct.usage_all            cpu.affinity_period_ms       cpu.rebuild_affinity_domain  notify_on_release
cpuacct.usage_percpu         cpu.affinity_stat            cpu.rt_period_us             tasks
[root@localhost bind]# cat /sys/fs/cgroup/cpu/kubepods/burstable/podceb02e9f-df0d-4d80-9f08-489257019dc0/386c36591723c74d79d11bd3dff00def0f7d69794e7d61ec497667a5d0ede52/cpu.cfs_burst_us
400000
[root@localhost bind]# cat /sys/fs/cgroup/cpu/kubepods/burstable/podceb02e9f-df0d-4d80-9f08-489257019dc0/386c36591723c74d79d11bd3dff00def0f7d69794e7d61ec497667a5d0ede52/cpu.cfs_quota_us
400000
[root@localhost bind]# vi bind.sh
[root@localhost bind]# vi bindnuma.sh
[root@localhost bind]# cat bindnuma.sh
ids=($(docker ps --format "{{.ID}}" --filter name=main-container_flink-benchmark-taskmanager))
for (( i=0; i<${#ids[@]}; i++ )); do
    index=$((i/4))

    if [ $index -eq 0 ]; then
        start=0
        end=79
    elif [ $index -eq 1 ]; then
        start=80
        end=159
    elif [ $index -eq 2 ]; then
        start=160
        end=239
    elif [ $index -eq 3 ]; then
        start=240
        end=319
    fi

    echo        "${ids[$i]}"    "${start}-${end}"
    echo        "$start-$end ${ids[i]}"
    docker update --cpuset-cpus $start-$end ${ids[i]}
done
[root@localhost bind]#
